/*
 * @Author: zhang gen yuan
 * @Date: 2021-08-16 09:53:52
 * @Descripttion: 
 */
import Layout from "/@/layout/index.vue";
const constantRoutes = [
    {
        path: '/redirect',
        component: Layout,
        hidden: true,
        name: 'Redirect',
        children: [
            {
                path: '/redirect/:path(.*)',
                name: 'RedirectC',
                component: () => import('/@/views/redirect/index.vue')
            }
        ]
    },
    {
        path: "/login",
        name: "Login",
        hidden: true,
        component: () => import("/@/views/login/index.vue"),
        meta: {
            title: '登录',
            icon: "el-icon-s-home",
            noCache: true,
            roles: ['admin'],
        },
    },


    {
        path: '/404',
        component: () => import('/@/views/error-page/404.vue'),
        hidden: true
    },
    {
        path: '/401',
        component: () => import('/@/views/error-page/401.vue'),
        hidden: true,
    },
]

export default constantRoutes;